package treemodel;

import java.util.ArrayList;
import java.util.List;

import treemodel.QQteam;


public class CurrentUser implements java.io.Serializable{
	private int ID;
	private String name;
	private String password;
	private int qq;
	private List<QQteam> allTeam=java.util.Collections.synchronizedList(new ArrayList());
	public int getID() {
		return ID;
	}
	public void setID(int id) {
		ID = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getQq() {
		return qq;
	}
	public void setQq(int qq) {
		this.qq = qq;
	}
	public List<QQteam> getAllTeam() {
		return allTeam;
	}
	public void addTeam(QQteam allTeam) {
		this.allTeam.add(allTeam);
	}

}
